package com.chongdong.dao.local.mapper;


import com.chongdong.entity.local.LocalSysProvider;
import com.chongdong.entity.saas.Mapping;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;

public interface LocalSysProviderMapper extends Mapper<LocalSysProvider> {

    void saveMapping(@Param("localId") Long localId, @Param("saasId") Long saasId);

    Long getLocalIdFromSaasSysProvider(@Param("prvId") Long prvId);

    void insertByrProtocalProvider(@Param("imborgid") long imborgid, @Param("prvId") Long prvId, @Param("prvType") int prvType, @Param("status") int status, @Param("createTime") Date createTime, @Param("updateTime") Date updateTime);

    void insertbyrProtocol(@Param("imborgid") long imborgid, @Param("prvId") Long prvId, @Param("imbLine") String imbLine, @Param("protocolStatus") int protocolStatus, @Param("protocalType") int protocalType, @Param("protocolRate") Double protocolRate);


}